﻿using System.ServiceModel;
using Hippo.Framework.Model;
using System;

namespace Hippo.Console.Lib.Services
{
    [ServiceContract(
        Name = "HippoConsoleControl", 
        Namespace = "http://hippo.codeplex.com/", 
        CallbackContract = typeof(IControlServiceCallback),
        SessionMode = SessionMode.Required)]
    public interface IControlService
    {
        [OperationContract(IsOneWay = true)]
        void RegisterAgent(string clientName);

        [OperationContract]
        void RegisterTestResult(TestResult result);

        [OperationContract]
        void SignalTestRunComplete(Guid id);
    }

}
